permalink: plugins/canvas
Canvas is a core plugin for visual note-taking. It gives you infinite space to lay out notes and connect them to other notes, attachments, and web pages.
Visual note-taking helps you to make sense of your notes by organizing them in a 2D space. Connect notes with lines and group related notes together to better understand the relationship between them.
Canvas data you create in Obsidian is saved as .canvas
files using the open file format JSON Canvas.
To start using Canvas, you first need to create a file to hold your canvas. You can create a new canvas using the following methods.
Ribbon:
Command palette:
File explorer:
Obsidian stores your canvas data as .canvas
files using an open file format called JSON Canvas.
You can drag files into your canvas from Obsidian or from other applications. For example, Markdown files, images, audio, PDFs, or even unrecognized file types.
You can add text-only cards that don't reference a file. You can use Markdown, links, and code blocks just like in a note.
To add a new text card to your canvas:
You can also add text cards by double-clicking on the canvas.
To convert a text card to a file:
Text-only cards don't appear in Backlinks. To make them appear, you need to convert them to a file.
To add a note from your vault to your canvas:
You can also add notes from the canvas context menu:
Or, you can add them to the canvas by dragging the file from the File explorer.
To add media from your vault to your canvas:
You can also add media from the canvas context menu:
Or, you can add them to the canvas by dragging the file from the File explorer.
To embed a web page in your canvas:
You can also select a URL in your browser and then drag it into the canvas to embed it in a card.
To open the web page in your browser, press Ctrl
(or Cmd
on macOS) and select the card label. Or, right-click the card and select Open in browser.
Drag a folder from the file explorer to add all files in that folder to the canvas.
Double-click on a text or note card to start editing it. Click outside the card to stop editing it. You can also press Escape
to stop editing a card.
You can also edit a card by right-clicking it and selecting Edit.
Remove selected cards by right-clicking any of them, and then selecting Delete. Or, press Backspace
(or Delete
on macOS).
You can also select Remove ( ) in the selection controls above your selection.
You can swap a note or media card for another card of the same type.
To swap a note card:
Select cards in the canvas by clicking on them. You can select multiple cards by dragging a selection around them.
You can also add and remove cards from an existing selection by pressing Shift
and selecting them.
Press Ctrl+a
(or Cmd+a
on macOS) to select all cards in the canvas.
To scroll the content of a card, you first need to select it.
Drag a selected card to move it.
Press Alt
(or Option
on macOS) and drag to duplicate the selection.
You can press Shift
while dragging to only move in one direction.
Press Space
while moving a selection to disable snapping.
Selecting a card moves it to the front.
Drag any of a card's edges to resize it.
You can press Space
while resizing to disable snapping.
To maintain the aspect ratio while resizing, press Shift
while resizing.
Draw lines between cards to create relationships between them. Use colors and labels to describe how they relate to each other.
To connect two cards with a directed line:
If you drag the line without connecting it to another card, you can then add the card you want to connect it to.
To remove the connection between two cards:
You can also disconnect two cards by right-clicking the line between them, and then selecting Remove. Or, by selecting the line and then pressing Backspace
(or Delete
on macOS).
To move one of the ends of a connection line:
If two connected cards are far apart, you can navigate to the source or the target of the connection by right-clicking the line and then select Go to target or Go to source.
You can add a label to a line to describe the relationship between two cards.
To label a connection:
Escape
or click anywhere on the canvas.You can also label a connection by selecting it and then selecting Edit label from the selection controls.
To edit a connection label, double-click on the line, or right-click the line and then select Edit label.
To create an empty group:
To group related cards:
Rename group: Double-click the name of the group to edit it, and then press Enter
to save.
As you start adding more cards to your canvas, you want to understand how you can navigate the canvas to look at a part of it. Learn how to pan and zoom to move across the canvas with ease.
To move the canvas vertically and horizontally, also known as panning, you can use any of the following approaches:
Space
and drag the canvas.Shift
while scrolling to pan horizontally.To zoom the canvas, press Space
or Ctrl
(or Cmd
on macOS) and scroll using the mouse wheel. Or, select Zoom in ( ) and Zoom out (
) from the zoom controls in the upper-right corner.
To zoom the canvas so that every item is visible, select Zoom to fit ( ). Or, use the keyboard shortcut,
Shift+1
.
To zoom the canvas so that all selected items are visible, right-click a selected card and then select Zoom to selection. Or, use a keyboard shortcut by pressing Shift+2
.
To change the zoom level back to the default, select Reset zoom in the zoom controls in the upper-right corner.
We have made some quick videos to demonstrate some advanced use cases of Canvas.
You can check out all 72 tips here. Please note that the tip videos are only visible on desktop.